.navigation-cneter {
  min-height: 80vh;
  padding: 50rpx 20rpx 0;
  background-image: linear-gradient(#2087fe 1%, #99baf5 20%, transparent 30%);

  .qr-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30rpx;
    padding: 40rpx 0;

    .tips {
      font-size: 26rpx;
      color: var(--color-priamry);
      margin-top: 20rpx;
    }

    .qr-img {
      position: relative;
      width: 200px;
      height: 200px;

      .this-img {
        width: 100%;
        height: 100%;
      }

      .qr-canvas {
        position: absolute;
        left: -9999px;
        top: 0;
        width: 200px;
        height: 200px;
      }
    }
  }

  .charge-info {
    margin-bottom: 30rpx;
    padding: 20rpx;

    .charge-info-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68rpx;
      color: var(--main-text);
      font-size: var(--small-font);

      .item-value {
        font-weight: bold;
      }
    }
  }

  .charge-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80rpx;
    color: #fff;
    font-size: var(--medium-font);
    font-weight: bold;
    background-color: var(--color-priamry);
    border-radius: 16rpx;
  }
}

.bluetooth-pop {
  display: flex;
  flex-direction: column;
  padding: 30rpx;
  width: 100%;
  height: 100%;

  .pop-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80rpx;
    font-size: 30rpx;
    font-weight: bold;
    margin-bottom: 20rpx;
  }

  .device-wrap {
    width: 100%;
    height: 120rpx;
    background-color: #f5f5f5;
    border-radius: 10rpx;
    padding: 20rpx;

    .device-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 100%;
      height: 100%;
      font-size: 30rpx;
      font-weight: bold;
      color: var(--color-priamry);
      padding-left: 20rpx;
      .device-name{
        display: flex;
        align-items: center;
        height: 70rpx;
        .icon-check{
          margin-left: auto;
        }
      }
      .iconfont {
        color: #fd8823;
        font-size: 36rpx;
        font-weight: bold;
        margin-right: 20rpx;
      }

      .tip {
        font-size: 22rpx;
        color: var(--secondary-color);
        padding-left: 60rpx;
      }
    }

    .device-searching {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      font-size: 30rpx;
      font-weight: bold;
      color: var(--color-priamry);

      .search-icon {
        color: var(--color-priamry);
        margin-left: 20rpx;
        animation: rotate 2s linear infinite;
      }
    }
    .no-device{
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      font-size: 30rpx;
      font-weight: bold;
    }
  }

  .bluetooth-btn {
    display: flex;
    align-items: center;
    margin-top: 40rpx;

    .bluetooth-btn-item {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 80rpx;
      flex: 1;
      font-size: 28rpx;
      font-weight: bold;

      &:last-child {
        color: var(--color-priamry-dark);
      }
    }
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}